package com.datang.pet.mapper;

import com.datang.pet.pojo.WxTemplate;
import com.datang.pet.pojo.WxTemplateExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxTemplateMapper {
    long countByExample(WxTemplateExample example);

    int deleteByExample(WxTemplateExample example);

    int deleteByPrimaryKey(String id);

    int insert(WxTemplate record);

    int insertSelective(WxTemplate record);

    List<WxTemplate> selectByExample(WxTemplateExample example);

    WxTemplate selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") WxTemplate record, @Param("example") WxTemplateExample example);

    int updateByExample(@Param("record") WxTemplate record, @Param("example") WxTemplateExample example);

    int updateByPrimaryKeySelective(WxTemplate record);

    int updateByPrimaryKey(WxTemplate record);
}